<?php get_header(); ?>

<div id="barra-lateral-interna">
	
					<?php if ( is_sidebar_active('primary_widget_area') ) : ?>
					  <div id="primary" class="widget-area">
					   <ul class="text">
						<?php dynamic_sidebar('primary_widget_area'); ?>
					   </ul>
					  </div>
					<?php endif; ?>  
					
									
				<?php if ( is_sidebar_active('secondary_widget_area') ) : ?>
				  <div id="primary" class="widget-area">
				   <ul class="text">
					<?php dynamic_sidebar('secondary_widget_area'); ?>
				   </ul>
				  </div> <!-- #secondary .widget-area -->
				<?php endif; ?>
</div>

	<div id="borda-left1">
		<div id="conteudo-texto">

				<?php if ( have_posts() ) : ?>

						<h1><?php
							printf( __( 'Arquivo: %s', 'muld' ), '<span>' . single_cat_title( '', false ) . '</span>' );
						?></h1>

						<?php
							$category_description = category_description();
							if ( ! empty( $category_description ) )
								echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
						?>


					<?php /* Start the Loop */ ?>
					<?php while ( have_posts() ) : the_post(); ?>

						<a href="<?php the_permalink()?>" title="<?php the_title()?>"><?php the_title()?></a>
						<p><?php the_excerpt() ?></p>

					<?php endwhile; ?>


				<?php else : ?>

					<article id="post-0" class="post no-results not-found">
						<header class="entry-header">
							<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
						</header><!-- .entry-header -->

						<div class="entry-content">
							<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
							<?php get_search_form(); ?>
						</div><!-- .entry-content -->
					</article><!-- #post-0 -->

				<?php endif; ?>
				
				<div id="nav-below" class="navigation">
                    <div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">«</span> Postagens Antigas', 'your-theme' )) ?></div>
                    <div class="nav-next"><?php previous_posts_link(__( 'Postagens mais recentes <span class="meta-nav">»</span>', 'your-theme' )) ?></div>
                </div><!-- #nav-below -->
		
		</div> <!-- #conteudo-texto -->
	</div>
	
<div class="clear"></div>
<?php get_footer(); ?>